#pragma once
#include <Windows.h>
#include <string>

class FilterWindow
{
public:
	static FilterWindow* getInstance();

	INT_PTR wndProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam);

	int show(HWND hParent);

private:
	static FilterWindow* instance;
	FilterWindow() : hDlg(0) {}

	void init();
	void clearList();
	void showList();

	std::string getNewFilter();

	HWND hDlg;
	HWND hList;
};

